package com.hackintosh.facade;

/**
 * @description：
 * @author：twislyn
 * @date：Created in 2021/05/14
 * @modified By：
 * @version: 1.0
 */
public class Hamburg {
    private Cake cake;
    private Salad salad;
    private Lettuce lettuce;
    private SpicyChickenLeg spicyChickenLeg;
    private OrleansChickenLeg orleansChickenLeg;

    public Hamburg() {
        cake = new Cake();
        salad = new Salad();
        lettuce = new Lettuce();
        spicyChickenLeg = new SpicyChickenLeg();
        orleansChickenLeg = new OrleansChickenLeg();
    }

    public void makeZingerBurger() {
        cake.make();
        salad.make();
        lettuce.make();
        spicyChickenLeg.make();
        System.out.println("新鲜的辣堡出炉了");
    }

    public void makeOrleansBurger() {
        cake.make();
        salad.make();
        lettuce.make();
        orleansChickenLeg.make();
        System.out.println("新鲜的辣奥尔良烤鸡腿堡出炉了");
    }
}
